package com.xjzd.spring.validated;

import jakarta.validation.constraints.NotEmpty;
import org.springframework.validation.annotation.Validated;

@Validated
public interface IService {

    String sayHello(User user);

    String sayName(@NotEmpty String name);
}
